package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤对象 business_clock
 * 
 * @author ruoyi
 * @date 2025-01-04
 */
public class BusinessClock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考勤ID */
    private Long clockId;

    /** 账号 */
    @Excel(name = "账号")
    private String userName;

    /** 昵称 */
    @Excel(name = "昵称")
    private String userNick;

    /** 打卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "打卡时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date clockTime;

    /** 打卡状态 */
    @Excel(name = "打卡状态")
    private Long clockStatus;

    public void setClockId(Long clockId) 
    {
        this.clockId = clockId;
    }

    public Long getClockId() 
    {
        return clockId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserNick(String userNick) 
    {
        this.userNick = userNick;
    }

    public String getUserNick() 
    {
        return userNick;
    }
    public void setClockTime(Date clockTime) 
    {
        this.clockTime = clockTime;
    }

    public Date getClockTime() 
    {
        return clockTime;
    }
    public void setClockStatus(Long clockStatus) 
    {
        this.clockStatus = clockStatus;
    }

    public Long getClockStatus() 
    {
        return clockStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clockId", getClockId())
            .append("userName", getUserName())
            .append("userNick", getUserNick())
            .append("clockTime", getClockTime())
            .append("clockStatus", getClockStatus())
            .toString();
    }
}
